package com.itheima.tlias84.mapper;

import com.itheima.tlias84.dto.SelectExprDTO;
import com.itheima.tlias84.entity.Experience;
import com.itheima.tlias84.po.UpdateEmpParam;
import com.itheima.tlias84.po.UpdateExprParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExprMapper {
    int batchInsertExpr(@Param("expr") List<Experience> expr);

    int batchDeleteEspr(@Param("ids") List<Integer> ids);

    List<Experience> selectExprByEmpId(@Param("id") Integer id);

//    int updateExprByEmpId(@Param("id") Integer id,@Param("list") List<UpdateExprParam> list);
}
